FROM ubuntu:22.04
COPY ./sources.list /etc/apt
RUN apt-get update && \
    apt-get install -y net-tools && \
    apt-get install -y tcpdump && \
    apt-get install -y iputils-ping && \
    apt-get install -y python3 python3-dev python3-pip && \
    apt-get clean && \
    echo "net.ipv4.neigh.default.gc_thresh1=1024" >> /etc/sysctl.conf && \
    echo "net.ipv4.neigh.default.gc_thresh2=2048" >> /etc/sysctl.conf && \
    echo "net.ipv4.neigh.default.gc_thresh3=4096" >> /etc/sysctl.conf

